package com.ssm.auth.domain.convert;

import com.ssm.auth.domain.bo.AuthPermissionBO;
import com.ssm.auth.infra.basic.entity.AuthPermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthPermissionBoConvert {
    AuthPermissionBoConvert INSTANCE = Mappers.getMapper(AuthPermissionBoConvert.class);

    //Bo 转 Permission
    AuthPermission AuthPermissionBoToPermission(AuthPermissionBO authPermissionBO);
}
